<%-- 
    Document   : ofertasproveedor
    Created on : 16-abr-2014, 20:45:54
    Author     : RICARDO
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>    
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ page import="java.util.*, beans.ProveedorForm"%>
<%@ page import="beans.auxiliares.Oferta"%>
<%@ page import="modelo.beans.ProveedorBean"%>
<!DOCTYPE html>
   
<table border="1" width="90%">
    <tr>
    <th>Id</th>
    <th>Id.Oferta</th>
    <th>Id.Prov</th>
    <th>Tipo</th>
    <th>Subtipo</th>
    <th>Descripcion</th>
     
      <th>Fecha inicio</th>
      <th>Fecha fin</th>
      <th>Municipio</th>
      <th>Plazas</th>
      <th>Precio</th>
    </tr>
        <logic:iterate id="idoferta" name="Listaofertas" scope="request" indexId="index" 
                        type="beans.auxiliares.Oferta">
            <tr>
                <td><bean:write name="index"></bean:write></td>
                <td><bean:write name="idoferta" property="idoferta"></bean:write></td>
                 <td><bean:write name="idoferta" property="idproveedor"></bean:write></td>
                 <td><bean:write name="idoferta" property="tipooferta"></bean:write></td>
                    <td>        
            <bean:write name="idoferta" property="sub_tipooferta"></bean:write>
                    
                    </td> 
                <td>     
            <bean:write name="idoferta" property="descripcion"></bean:write>
                </td>
                
                <td>     
            <bean:write name="idoferta" property="fecha_inicio"></bean:write>
                <td>     
            <bean:write name="idoferta" property="fecha_final"></bean:write>
                <td>     
            <bean:write name="idoferta" property="municipio"></bean:write>
                </td>
                <td>     
            <bean:write name="idoferta" property="plazas_disponibles"></bean:write>
                </td>
               <td>     
            <bean:write name="idoferta" property="precio"></bean:write>
                </td>
                
                <td><html:link action="gestionproveedor.do?method=seleccionarOferta" paramName="idoferta" paramProperty="idoferta" paramId="idoferta"> Actualizar</html:link></td>

            </tr>
          </logic:iterate>
            
</table>